package com.hangjiang.gulidear.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.hangjiang.gulidear.dao.ProblemDao;
import com.hangjiang.gulidear.model.Problem;
import com.hangjiang.gulidear.service.ProblemService;

@Service("problemService")
public class ProblemServiceImpl extends BaseServiceImpl<Problem> implements
		ProblemService {
	@Resource(name = "problemDao")
	public void setDao(ProblemDao problemDao) {
		super.setDao(problemDao);
	}

	@Override
	public ProblemDao getDao() {
		return (ProblemDao) super.getDao();
	}
}
